import { createApp } from 'vue'
import App from './App.vue'
import router from './plugins/router.js'
import { uiCopy, uiDownloadImg } from './utils/index.js'
import pinia from './plugins/pinia.js'
import moment from 'moment'
import Antd from 'ant-design-vue'
import 'ant-design-vue/dist/reset.css'


const app = createApp(App);
app.use(pinia)
app.use(router)
app.use(Antd)

// 挂载全局变量
app.config.globalProperties.$moment = moment;
app.config.globalProperties.$uiCopy = uiCopy;
app.config.globalProperties.$uiDownloadImg = uiDownloadImg;

app.mount('#app');
